<% form_tag({:action => 'update'}, :id=>'share_file_form') do -%>

  <%= render :partial => 'form', :locals => {:owner_name => @owner_name,
                                             :share_file => @share_file,
                                             :categories_hash => @categories_hash,
                                             :symbol2name_hash => @symbol2name_hash} %>

<%= hidden_field_tag 'file_id', @share_file.id %>
<div class="input_line">
  <div class="input_label">ファイル</div>
  <div class="input_value"><%= @share_file.file_name %></div>
  <div style="clear: left"></div>
</div>

  <%= submit_tag "修正" %>
  <input type="button" value="キャンセル" onclick="window.close();"></input>
<% end %>
